/**
 * 我创建的审批流 table
 */
 export const MyCreateApprovalColumn: any[] = [
  {
    title: 'ID',
    dataIndex: 'id',
    width: 80
  },
  {
      title: "需求类型",
      dataIndex: 'type',
      width: 200
  },
  {
    title: "名称",
    dataIndex: 'cnName',
    ellipsis: true,
    tooltip: true,
    width: 200
  },
  {
      title: "描述",
      dataIndex: 'des',
      ellipsis: true,
      tooltip: true,
      width: 250
  },
  {
      title: "所属部门",
      dataIndex: 'part',
      width: 160
  },
  {
      title: "创建人",
      dataIndex: "techOwner",
      width: 160
  },
  {
      title: "创建时间",
      dataIndex: "createTime",
      width: 180
  },
  {
    title: "状态",
    dataIndex: "developStatus",
    slotRenderName: 'developStatus',
    width: 160
  },
  {
    title: "操作",
    dataIndex: "operator",
    width: 160,
    slotRenderName: 'operator',
    fixed: 'right',
  },
]
export const MyApprovalColumn :any = [
  {
      title: 'ID',
      dataIndex: 'id',
      width: 80
    },
    {
        title: "需求类型",
        dataIndex: 'type',
        width: 200
    },
    {
      title: "名称",
      dataIndex: 'cnName',
      ellipsis: true,
      tooltip: true,
      width: 200
    },
    {
        title: "描述",
        dataIndex: 'des',
        ellipsis: true,
        tooltip: true,
        width: 250
    },
    {
        title: "所属部门",
        dataIndex: 'part',
        width: 160
    },
    {
        title: "创建人",
        dataIndex: "techOwner",
        width: 160
    },
    {
        title: "创建时间",
        dataIndex: "createTime",
        width: 180
    },
    {
      title: "状态",
      dataIndex: "developStatus",
      slotRenderName: 'developStatus',
      width: 160
    },
    {
      title: "操作",
      dataIndex: "operator",
      width: 160,
      slotRenderName: 'operator',
      fixed: 'right',
    },
]

/**审核状态 */
export const approvalStatus = {

'30': '已审核',
'20': '审核中',
'10': '草稿',
}
export const statusColor = {
'20' : 'col_396',
'30' : 'col_24D' ,
// '20' : 'col_FFA' ,
'10' : 'col_947' ,
}

export const myApproval = {
'APPROVING': '待处理',
'APPROVED': '已处理'
}
export const myApprovalColor = {
'APPROVING': 'col_FFA',
'APPROVED': 'col_24D' ,
}

export enum approvalType {
'DEMAND' = '指标需求审批',
'CREATE' = '指标创建审批',
'PUBLISH' = '指标发布审批',
'OFFLINE' = '指标下线审批',
'DELETE' = '指标删除审批',
}

export enum stepStatus {
'PASSED' = '已通过',
'APPROVING' = '审核中',
'REJECT' = '已驳回'
}
export enum stepStatusStyle {
'PASSED' = 'col_3C6',
'APPROVING' = 'col_FFA81A',
'REJECT' = 'col_FF1'
}